﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html lang="pl">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Kalendarz</title>
    <style type="text/css">
    
      /* tutaj definijce stylów dla kalendarza */
      
      #divKalendarz{
        background-color:white;
        position:absolute;
        cursor:move;
        right:2px;
        top:2px;
        max-width:200px;
      }
    </style>
    <script type="text/javascript">
      var draggedDiv = null;
      var offset = null;

      document.onmouseup = mouseUp;
      document.onmousemove = mouseMove;

      /* tutaj funkcje dotyczące funkcjonalności drag&drop:
         mousePos, startDrag, mouseUp, mouseMove */

      /* tutaj funkcje dotyczące funkcjonalności kalendarza:
         rokPrzestepny i wyświetlKalendarz*/

    </script>
  </head>
<body>
  <!-- tutaj treść strony -->
  <div id="divKalendarz" onmousedown="startDrag(this);">
  </div>
  <script type="text/javascript">wyświetlKalendarz('divKalendarz');</script>
</body>
</html>
